/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.composition.impl;

import za.ac.cput.assignment2.composition.EmployeeInterface;
import za.ac.cput.assignment2.composition.StudentInterface;

/**
 *
 * @author yandiswa
 */
public class EmployeeImpl implements EmployeeInterface {
    private String empName;
    private String empNo;
    StudentInterface student;
    @Override
    public void setEmpNo(String emp) {
    empNo = emp;    
    }

    @Override
    public String getEmpNo() {
        return empNo;
    }

    @Override
    public void setEmpName(String name) {
        empName = name;
    }

    @Override
    public String getEmpName() {
       return empName;
    }

    @Override
    public void SetStudNo(StudentInterface studNo) {
        student = studNo;
    }

    @Override
    public StudentInterface GetStudNo() {
        return student;
    }

   
     
}
